/* reset styles 
--------------------------------------------- */
html, body, div, span,
applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dd, dl, dt, li, ol, ul,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  border: 0;
  font-family: inherit;
  font-size: 100%;
  font-style: inherit;
  font-weight: inherit;
  line-height: 1;
  margin: 0;
  padding: 0;
  text-align: left;
  vertical-align: baseline; }

a img, :link img, :visited img {
  border: 0; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

ol, ul {
  list-style: none; }

q:before, q:after,
blockquote:before, blockquote:after {
  content: ""; }

/* master styles 
--------------------------------------------- */
body {
  font: normal 62.5% "Helvetica Neue", helvetica, sans-serif;
  color: #999;
  background: #333;
  padding: 0;
  margin: 0; }

a:link,
a:visited {
  color: #999; }

a:hover {
  color: #aaa; }

#main {
  margin: 0 auto;
  width: 500px;
  padding: 60px 0; }

h1 a {
  display: block;
  text-align: center;
  margin-bottom: 5px;
  -webkit-transition: opacity .2s linear;
  -moz-transition: opacity .2s linear;
  -o-transition: opacity .2s linear;
  transition: opacity .2s linear; }

h1 a:hover {
  opacity: .7; }

h1 a img {
  width: 285px; }

h2 {
  font: normal 2.8em "Helvetica Neue", helvetica, sans-serif;
  text-align: center; }

h3 {
  margin: 20px 0 10px 0;
  padding: 20px 0 0 0;
  font: normal 1.4em "Helvetica Neue", helvetica, sans-serif;
  text-transform: uppercase;
  font-weight: bold;
  text-align: left;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1); }

h3.or {
  margin: 0 0 10px 0;
  padding: 0;
  font-weight: normal;
  text-transform: none;
  border-top: none;
  color: #999; }

h4 {
  margin: 20px 0 10px 0;
  padding: 20px 0 0 0;
  font: normal 1.8em "Helvetica Neue", helvetica, sans-serif;
  line-height: 1.4;
  font-weight: normal;
  text-align: left;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1); }

h4 strong {
  font-weight: bold; }

a.handle {
  margin: 0 2px;
  padding: 2px 4px;
  font-size: 1em;
  font-weight: normal;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  border: 2px solid rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  -webkit-transition: all .2s ease;
  -moz-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease; }

a.handle:hover {
  color: #fff;
  border-color: rgba(0, 0, 0, 0.3);
  background-color: rgba(0, 0, 0, 0.3); }

/* auth buttons */
div.sign-connections {
  float: right;
  width: 220px;
  position: relative;
  margin: 39px 0 0 0; }

div.sign-connections-full {
  width: 100%;
  margin: 30px 0 0 0; }

div.sign-connections p {
  margin: 0;
  font-size: 1.2em;
  line-height: 1.5;
  text-align: left; }

a.auth-twitter,
.auth-twitter {
  float: left;
  margin: 0 0 15px 0;
  padding: 10px 12px 10px 37px;
  font-size: 1.8em;
  font-weight: normal;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  border: none;
  background: url(/static/images/icon-twitter-bird-2x.png) no-repeat 10px 50%, url(/static/images/glass-light.png) repeat-x 0 50%;
  background-size: 20px 16px, auto auto;
  background-color: #1d88b4;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  -webkit-transition: all .2s ease;
  -moz-transition: all .2s ease;
  -o-transition: all .2s ease;
  transition: all .2s ease; }

a.auth-twitter:hover,
.auth-twitter:hover {
  color: #fff;
  background-color: #197ea7; }

a.auth-twitter:active,
.auth-twitter:active {
  background-color: #15739a; }

div.sign-connections-full a.alt-link {
  float: left;
  margin: 12px 0 0 20px;
  font-size: 1.2em; }

div.sign-connections-up {
  width: 100%;
  margin: 30px 0 0 0;
  text-align: center; }

div.sign-connections-up a.auth-twitter {
  float: none;
  margin: 0 auto; }

p.sign-notamember {
  clear: both;
  padding: 30px 0 0 0;
  font-size: 1.6em;
  text-align: center; }

/* form */
#form-oldschool {
  float: left;
  width: 250px;
  margin: 20px 0 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1); }

form fieldset {
  margin: 0 0 15px 0; }

label {
  display: block;
  margin: 0 0 4px 0;
  font-size: 1.4em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.8); }

input.text-input {
  width: 200px;
  border: none;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  font: 1.6em "Helvetica Neue", helvetica, sans-serif;
  padding: 8px 10px;
  margin-right: 8px;
  color: #444;
  outline: none; }

input.button {
  display: block;
  font: normal 1.6em "Helvetica Neue", helvetica, sans-serif;
  background: #ea4c88 url(/static/images/glass.png) repeat-x 0 50%;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  border: none;
  padding: 8px 10px;
  color: #fff;
  cursor: pointer; }

input.button:hover,
input.button:focus {
  text-decoration: none;
  background-color: #df3e7b; }

input.button:active,
a.form-sub:active {
  text-decoration: none;
  background-color: #c22b65; }

label a:link,
label a:visited {
  margin-left: 5px;
  font-size: .9em;
  line-height: 1;
  font-weight: normal;
  text-decoration: underline; }

.check {
  float: left;
  margin: 10px 0 0 20px; }

.check label {
  color: #999; }

.check input {
  vertical-align: middle; }

p {
  margin: 1.5em 0 0 0;
  font-size: 1.5em;
  line-height: 1.5; }

p.message {
  margin: 2px 0 0 0; }

p.alt-link {
  float: left;
  margin: 10px 0 0 10px; }

div.form-inline {
  margin: 20px 0 0 0; }

div.form-inline form fieldset {
  display: inline; }

div.form-inline form input.text-input {
  width: 180px; }

div.form-inline form input.button {
  display: inline; }

/* error handling */
form .errorExplanation {
  margin: 15px 0;
  font-size: 1.4em;
  line-height: 1.5;
  font-weight: normal;
  text-align: left;
  color: #df3b3b;
  background: #fff;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px; }

.errorExplanation h2 {
  padding: 10px 20px;
  font-size: 1.4em;
  line-height: 1;
  color: #fff;
  background: #df3b3b url(/static/images/alert-lines.png) repeat-x top left;
  -webkit-border-top-left-radius: 8px;
  -webkit-border-top-right-radius: 8px;
  -moz-border-radius-topleft: 8px;
  -moz-border-radius-topright: 8px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px; }

.errorExplanation ul {
  padding: 20px; }

.errorExplanation ul li {
  margin: 0 0 5px 20px;
  list-style: disc; }

fieldset.fieldWithErrors {
  background: white url(/static/images/icon-error.png) no-repeat 20px 50%; }

/* flash notices */
div.notice {
  padding: 10px 12px;
  font-size: .9em;
  font-weight: normal;
  text-align: left;
  color: #fff;
  background: #df3b3b url(/static/images/alert-lines.png) repeat-x top left; }

div.notice h2 {
  width: 940px;
  margin: 0 auto;
  font-size: 2em;
  font-weight: normal;
  line-height: 1.3;
  text-align: center; }

div.notice a:link,
div.notice a:visited {
  color: #fff;
  text-decoration: underline; }

div.error {
  background-color: #df3b3b; }

div.info {
  background-color: #618fb9; }

div.success {
  background-color: #83b452; }

/* self-clear floats */
.mod:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden; }

/* IE patches 
--------------------------------------------- */
* html .mod {
  /* IE6 */
  height: 1%; }

*:first-child + html .mod {
  /* IE7 */
  min-height: 1px; }

@media screen and (max-width: 480px) {
  html {
    -webkit-text-size-adjust: none; }

  #main {
    float: none;
    width: auto;
    padding: 20px; }

  h1 a img {
    width: 185px; }

  h2 {
    font-size: 2em; }

  #form-oldschool {
    float: none;
    margin: 0;
    padding: 0px;
    border: 0;
    width: 100%;
    box-sizing: border-box; }

  div.sign-connections {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 0 0 0;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); }

  form fieldset {
    margin: 15px 0; }

  label {
    margin-bottom: 5px; }

  input.text-input {
    width: 100%;
    box-sizing: border-box;
    border: none;
    font: 1.6em "Helvetica Neue", helvetica, sans-serif;
    padding: 8px 10px;
    margin: 0px; }

  input.button {
    padding: 15px 0;
    margin: 15px 0 0;
    width: 100%; }

  a.auth-twitter, .auth-twitter {
    margin: 10px 0 5px;
    width: 100%;
    box-sizing: border-box;
    padding: 15px 0 15px 0;
    font-size: 1.6em;
    text-align: center; }

  div.form-inline form fieldset,
  div.form-inline form input.button {
    display: block; }

  div.form-inline form input.text-input {
    width: 100%; } }
